<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .swiper-container {
            width: 640px;
            height: 300px;
            margin: 0 auto;
            overflow: hidden;
        }

        .swiper-container img {
            width: 640px;
            height: 300px;
        }

        .swiper-wrapper {
            width: 9999px;
        }

        .swiper-slide {
            float: left;
            animation: run 10s infinite;
        }

        @keyframes run {
            0% {
                transform: translateX(0);
            }
            10%{
                transform: translateX(-640px); 
            }
            33% {
                transform: translateX(-640px);
            }
            45%{
                transform: translateX(-1280px);
            }
            66% {
                transform: translateX(-1280px);
            }
            76% {
                transform: translateX(-1920px);
            }
            100% {
                transform: translateX(-1920px);
            }
        }
    </style>
</head>

<body>
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img src="1.png" alt="">
            </div>
            <div class="swiper-slide">
                <img src="2.png" alt="">
            </div>
            <div class="swiper-slide">
                <img src="3.png" alt="">
            </div>
            <div class="swiper-slide">
                <img src="2.png" alt="">
            </div>
        </div>
    </div>
</body>

</html>